package com.renjianbo.project.common.model;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.renjianbo.project.module.system.model.sys_permission.SysPermissionDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


@Data
public class PageReq {

    @ApiModelProperty(value = "页码")
    private Integer currentPage = 1;

    @ApiModelProperty(value = "每页记录数")
    private Integer pageSize = 10;

    public Page getPage() {
        return new Page<>(currentPage, pageSize);
    }

}
